const UserModel = require('../model/userModel')

const userDao = {
    getUserListDao: async () => {
        let userList = await UserModel.findAll()
        // // 写sql
        // UserModel.query(`
        //     select username, sex from user
        // `)
        return userList
    } 
}

module.exports = userDao